How do I shut down or restart my Windows computer via command prompt?

Table of Contents

How do I shut down or restart my Windows computer via command prompt?

Microsoft Windows offers several ways to shut down or restart your computer, one of which is via the command prompt.

To access the command prompt window from Windows 8 or 10:
  1. Go to the Start menu
  2. Type cmdin the Search field
  3. Press Enter
From an open command prompt window:
  1. type shutdown, followed by the option you wish to execute. 

  2. To shut down your computer, type shutdown /s

  3. To restart your computer, type shutdown /r

  4. To log off your computer type shutdown /l

  5. For a complete list of options type shutdown /?

  6. After typing your chosen option, press Enter. The computer will execute your desired task

Article number: 

109196

Last updated: 

June 2, 2020

Service: 

Windows

Category: 

Advanced Technical Information


https://its.uiowa.edu/support/article/109196

Leave a Reply

Your email address will not be published. Required fields are marked *